<template>
    <div>
        <div>这是一个测试页面</div>
    <div>{{ good.goodNO }}</div>
    </div>
    
</template>
<script setup>
import { useRoute,useRouter } from "vue-router";
import { reactive } from "vue";

const route = useRoute();

const good = reactive({
  goodNO : route.query.id

})

console.log(route.query.id);
console.log(good.goodNO);

</script>
<style scoped></style>